<?PHP

 // MinBS - Minimalist Blogging System
 // Developed by Juliano "tibone" Flores
 // http://code.google.com/p/minbs

require_once('required.php');
session_start();
if(!$_SESSION['minbs']=="logged"){
header("location:index.php");
}

$title = $_POST['title'];
$author = $_POST['author'];
$description = $_POST['description'];

$update_query = "UPDATE minbs_settings SET `title` = '$title', `author` = '$author', `description` = '$description' where `id` = '1';";

$updated = mysql_query($update_query, $connection);
header("location:admin.php");


?>

